package java6;
//输出1至50中是7的倍数的数值之和
public class Code078 {
	public static void main(String[] args) {
		int a =0;
		int sum =0;
		while(a<49){
			a+=7;
			sum+=a;
		}
		System.out.println("1至50中是7的倍数的数值之和为:"+sum);
	}
}
